<?php
	include '../com/mss/action/UserAction.php';
	
	$user_action = new UserAction();
	$users = $user_action->selectAll();
?>
<h4>User Information</h4>
<table id="customers" border="1">
	<tr>
		<th>First Name</th>
		<th>Last Name</th>
		<th>Login ID</th>
		<th>Mobile</th>
		<th>E-Mail</th>
		<th>Update</th>
	</tr>
	<?php foreach ($users as $user) {?>
	<tr>
		<td><?php echo $user->getFirstName()?></td>
		<td><?php echo $user->getLastName()?></td>
		<td><?php echo $user->getLoginID()?></td>
		<td><?php echo $user->getMobile()?></td>
		<td><?php echo $user->getEMail()?></td>
		<td><a href="./edit_user.php?id=<?php echo $user->getID();?>">[Edit]</a> &nbsp; <a href="#">[Remove]</a></td>
	</tr>
	<?php }?>
</table>
